package com.xsq.audio.player.utils;

import android.content.Context;
import android.widget.Toast;


/**
 * 提示工具类
 */
public class ToastUtils {

    public static void show(Context context, String info) {
        Toast toast = Toast.makeText(context, info, Toast.LENGTH_SHORT);
        toast.show();
    }

    public static void show(Context context, int resId) {
        Toast toast = Toast.makeText(context, context.getString(resId), Toast.LENGTH_SHORT);
        toast.show();
    }
}
